/**** Calcule sur une base de 1440px ****/

@media (orientation: landscape) {

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/******** HEADER ************/

.banderole {
    width: 100vw;
    height: 6.14vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banderole h1 {
    text-align: center;
}

/******** CONTACT -- MAIN -- ***********/

.contact_main {
    width: 100vw;
    min-height: 100vh;
    column-gap: 4vw;
    row-gap: 0vw;
    padding-top: 0;
    padding-bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(38, 2vw);
}

/******** GRID *************/

/******** PITCH *************/

.pitch p {
    width: 100vw;
    height: 4.91vw;
    font-size: 1.23vw;
}

/******** PHOTO CAROUSEL - Desktop (52% reduction) ********/

/* ── Flèches carousel ─────────────────────────────────────── */
/* Le JS les passe à display:'' (leur valeur par défaut étant
   display:none en mobile). On remet display:flex ici pour
   garantir le rendu correct en landscape. */
.carousel-arrow {
  display: flex; /* visible en landscape (JS gère aussi, double sécurité) */
  width: 2.3vw;
  height: 2.3vw;
}
 
.carousel-arrow svg {
  width: 1.37vw;
  height: 1.37vw;
}
 
.carousel-arrow--prev { left: -1.5vw; }
.carousel-arrow--next { right: -1.5vw; }
 
/* ── Card ─────────────────────────────────────────────────── */
.carousel-card {
  width: 27.31vw;
  height: 17.07vw;
  border-radius: 1vw;
}
 
/* ── Track ────────────────────────────────────────────────── */
.carousel-track {
  height: 100%;
}
 
/* ── Items ────────────────────────────────────────────────── */
.carousel-item {
  width: 26.31vw;
  height: 13.66vw;
  margin: 0 0.69vw;
  border-radius: 0.86vw;
  padding: 0.15vw;
  box-sizing: border-box;
}

.carousel-item.active-slide {
  filter: drop-shadow(0.1vw 0.062vw 0.18vw rgba(0, 0, 0, 0.3));
}
 
.carousel-item img {
  width: 100%;
  height: 100%;
}
 
/* ── Dots ─────────────────────────────────────────────────── */
.dots {
  bottom: 0.69vw;
  left: 50%;
  gap: 0.43vw;
}
 
.dot {
  width: 0.43vw;
  height: 0.43vw;
}
 
/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 1.02vw;
  box-shadow: 0 0.69vw 3.42vw rgba(0, 0, 0, 0.6);
}
 
.lightbox-close {
  top: 0vw;
  right: 9vw;
  font-size: 5vw;
}
 
/* ── Social icons ─────────────────────────────────────────── */
.social_icon_card {
  width: 27.31vw;
  height: 5.07vw;
  border-radius: 1vw;
}
 
.social_icon_card a {
  width: 4.30vw;
  gap: 0.4vw;
  padding-top: 0.30vw;
}
 
.social_icon_card svg.icon-social {
  width: 2.99vw;
  height: 2.99vw;
  filter: drop-shadow(0.2vw 0.062vw 0.18vw rgba(0, 0, 0, 0.3));
}
 
.social_icon_card a:hover svg.icon-social {
  transform: translateY(-0.18vw);
}
 
.social_icon_card a:active svg.icon-social {
  transform: translateY(0.18vw);
}
 
.social_icon_card p {
  width: 4.30vw;
  font-size: 0.68vw;
}

/******** FORMULAIRE ********/

.formulaire {
    width: 27.31vw;
    height: 39.94vw;
    border-radius: 1vw;
}

.formulaire h2 {
    font-size: 1.5vw;
}

.form_contact {
    width: 21.50vw;
    height: 26.11vw;
    gap: 2.15vw;
}

.form_contact input {
    width: 21.50vw;
    height: 1.84vw;
    font-size: 1.02vw;
    padding-left : 0.37vw;
    border-radius: 0.43vw;
    filter: drop-shadow(0.1vw 0.062vw 0.18vw rgba(0, 0, 0, 0.3));
}

#error_nom {
    top: 2.15vw;
    left: 0vw;
    font-size: 0.92vw;
}

#error_prenom {
    top: 6.14vw;
    left: 0vw;
    font-size: 0.92vw;
}

#error_email {
    top: 10.14vw;
    left: 0vw;
    font-size: 0.92vw;
}

#error_message {
    top: 22.49vw;
    left: 0vw;
    font-size: 0.92vw;
}

.form_contact textarea {
    max-width: 21.50vw;
    min-width: 21.50vw;
    min-height: 5.96vw;
    font-size: 1.01vw;
    padding: 0.24vw 0.37vw 0 0.37vw;
    border-radius: 0.43vw;
    filter: drop-shadow(0.1vw 0.062vw 0.18vw rgba(0, 0, 0, 0.3));
}

.form_contact button {
    width: 9.55vw;
    height: 1.54vw;
    font-size: 0.92vw;
    border-radius: 0.43vw;
    filter: drop-shadow(0.1vw 0.062vw 0.18vw rgba(0, 0, 0, 0.3));
}

.condition_form_contact {
    width: 23.68vw;
    height: 5.80vw;
}

#error_checkbox {
    bottom: 1.07vw;
    left: 1.20vw;
    font-size: 0.92vw;
}

.condition_form_contact input {
    width: 0.92vw;
    height: 0.92vw;
    filter: drop-shadow(0.1vw 0.062vw 0.18vw rgba(0, 0, 0, 0.3));
}

.condition_form_contact p {
    width: 22.21vw;
    height: 5.80vw;
    font-size: 0.83vw;
}

.formulaire input[type="checkbox"]:checked::after {
    left: 0.22vw;
    top: 0.062vw;
    width: 0.24vw;
    height: 0.43vw;
    border-width: 0 0.09vw 0.09vw 0;
}

/******* SECTION PLAN ********/

.map {
    width: 27.31vw;
    border-radius: 1vw;
    padding-top: 0.92vw;
    padding-bottom: 1.54vw;
    gap: 1.07vw;
}

.map p {
    font-size: 1.10vw;
    width: 23.04vw;
}

.map iframe {
    width: 17.92vw;
    height: 9.39vw;
    margin: 0 auto;
    transform: translateX(1.84vw);
    filter: drop-shadow(0.1vw 0.062vw 0.18vw rgba(0, 0, 0, 0.3));
}

/******** HORAIRES ********/

.horaires {
    width: 27.31vw;
}

.horaires p {
    font-size: 1.23vw;
    margin-bottom: 0.86vw;
}

.horaires li {
    font-size: 1.07vw;
    margin-bottom: 0.24vw;
}

/********* QRCODE **********/

.qr_code {
    width: 27.31vw;
    gap: 1.10vw;
}

.qr_code img {
    width: 6.91vw;
    height: 6.91vw;
}

.qr_code button {
    height: 1.84vw;
    padding: 0vw 1.23vw;
    border-radius: 0.6vw;
    font-size: 0.77vw;
    line-height: 1.84vw;
}

.qr_code p {
    font-size: 1.23vw;
}

/******** FOOTER ********/

.footer_mentions {
    width: 100vw;
    height: 6.83vw;
    gap: 0.46vw;
}

.footer_mentions p {
    font-size: 1.08vw;
}

.footer_mentions a {
    font-size: 1.08vw;
}

/********** POP UP CONFIRMATION FORMULAIRE *********/

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    width: 24.73vw;
    padding: 2.46vw;
    border-radius: 1vw;
    box-shadow: 0 0.46vw 1.23vw rgba(0,0,0,0.15);
}

.popup-content p {
    font-size: 1.23vw;
    margin: 0;
}

#popup_close {
    font-size: 1.84vw;
    width: 1.84vw;
    height: 1.84vw;
    line-height: 1.84vw;
}

/********** MENTION **********/

.mention_main {
    width: 80vw;
    font-size: 0.90vw;
    line-height: 1.4;
    margin: 2.24vw auto;
    padding: 0.64vw 0;
}

.mention_main h2 {
    font-size: 2.24vw;
    padding: 0 0 1.34vw 0;
}

.mention_main h3 {
    font-size: 1.5vw;
    padding: 0.64vw 0;
}

.mention_main ul {
    padding: 0.64vw 0 0 4.4vw
}

.mention_main p {
    padding: 0.64vw 0;
}

/******* ZOOM JS ******/

/* bouton flottant */

#zoomFab{
  position: fixed;
  bottom: 2vw;
  right: 6vw;
  width: 5vw;
  height: 4.5vw;
  border-radius: 0.6vw;
  background: rgba(25,25,25,0.9);
  display: none;
  flex-direction: column; /* 🔥 texte sous image */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99999;
  transition: transform 0.15s ease,
              background 0.15s ease;
}

/* hover effet propre UX */
#zoomFab:hover{
  background: rgba(40,40,40,0.95);
  transform: scale(1.05);
}

/* image */
#zoomFab img{
  width: 2.5vw;
  height: 2.5vw;
  object-fit: contain;
  pointer-events: none;
}

/* texte */
.zoomText{
  font-size: 0.9vw;
  color: #fff;
  white-space: nowrap;
  font-weight: 500;
  opacity: 0.95;
}

/* panel */
#zoomPanel{
  position: fixed;
  bottom: 1vw;
  right: 2vw;
  width: 15vw;
  padding: 0.8vw;
  background: rgba(25,25,25,0.92);
  border-radius: 0.6vw;
  color: #fff;
  font: 0.8vw system-ui;
  display: none;
  flex-direction: column;
  gap: 0.5vw;
  z-index: 99999;
  backdrop-filter: blur(0.5vw);
  box-shadow: 0 0.3vw 1vw rgba(0,0,0,0.25);
}

/* title */
.z-title{
  font-weight: 600;
  opacity: 0.9;
  font-size: 0.85vw;
}

/* row */
.z-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* reset button */
#dzReset{
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  padding: 0.3vw 0.5vw;
  border-radius: 0.3vw;
  cursor: pointer;
  font-size: 0.75vw;
}

#dzReset:hover{
  background: rgba(255,255,255,0.18);
}

/* slider */
#dzRange{
  width: 100%;
  accent-color: #4da3ff;
}

/* value */
#dzVal{
  min-width: 3vw;
  text-align: right;
  opacity: 0.8;
  font-size: 0.8vw;
}

/******** COOKIES ****************/

/* Style du bandeau cookies */
#cookie_banner {
  bottom: 1vw;
  left: 12vw;
  right: 12vw;
  padding: 0.8vw 2vw;
  gap: 1vw;
  font-size: 1.2vw;
  box-shadow: 0 -0.2vw 2vw rgba(0,0,0,0.3);
  border-radius: 0.5vw;
  border: 0.2vw solid rgba(0, 0, 0, 0.1);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15vw);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hide {
  transform: translateY(15vw);
}

#cookie_banner p {
    width: 70vw;
}

/* Boutons */
.cookie_actions {
  gap: 2vw;
}

#cookie_banner button {
  padding: 0.3vw 2.5vw;
  border-radius: 0.5vw;
  font-size: 1vw;
}

/********* PAGE 404 *******/

.container-404 {

width: 40vw;

}

/* Logo */

.logo-404 {

width: 6vw;

margin-bottom: 2vw;

}

/* 404 */

.code-404 {

font-size: 8vw;

}

/* Message */

.message-404 {

font-size: 1.2vw;

margin-top: 1vw;
margin-bottom: 2vw;

}

/* Boutons */

.buttons-404 {

flex-direction: row;

justify-content: center;

gap: 1vw;

margin-bottom: 3vw;

}

/* Bouton */

.btn-404 {

padding: 0.8vw 1.6vw;

font-size: 1vw;

border: 0.15vw solid #000;

border-radius: 0.6vw;

}

/* Footer */

.footer-404 {

font-size: 1.5vw;

}

}